import express from 'express'
const router =express.Router()

import { Sign,LogIn,LogOut } from '../controller/userController.js';
import { authenticate } from '../middleware/auth.js';


router.post('/sign',Sign)
router.post('/logIn',LogIn)
router.get('/logOut',authenticate,LogOut)

export default router